package com.hhit.bigscreenbackmanage.service.video;

import com.alibaba.fastjson.JSONObject;
import com.hhit.bigscreenbackmanage.common.PageUtil;
import com.hhit.bigscreenbackmanage.entity.video.VideoEntity;
import com.hhit.bigscreenbackmanage.vo.AdminVideoUpdateStatusVO;
import com.hhit.bigscreenbackmanage.vo.DeleteVo;

import java.util.Map;



public interface VideoService {

    PageUtil<VideoEntity> getVideoList(JSONObject jsonObject) throws Exception;

    int saveVideo(VideoEntity videoEntity) throws Exception;

    int editVideo(VideoEntity videoEntity) throws Exception;

    int removeVideo(DeleteVo deleteVo) throws Exception;

    /**
     * @Description: 加载默认视频
     * @Author: qianchengcheng
     * @Date: 2021/4/19 9:04
     * @Param: []
     * @Return: java.util.Map<java.lang.String,java.lang.Object>
     **/
    Map<String,Object> loadDefaultVideo() throws Exception;

    Map<String,Object> loadSafeDefaultVideo(JSONObject jsonObject) throws Exception;

    Map<String, Object> loadMainEqVideo() throws Exception;

    void updateStatus(AdminVideoUpdateStatusVO adminVideoUpdateStatus);


}
